package com.tanhua.dubbo.api.mongo;


import com.tanhua.domain.mongo.Movement;
import com.tanhua.domain.vo.PageResult;

import java.util.List;

public interface MovementApi {
    String saveMovements(Movement movement);

    PageResult queryFriendMovements(Long userId, Integer page, Integer pagesize);

    PageResult queryRecommendMovements(Long userId, Integer page, Integer pagesize);

    PageResult queryMyselfMovements(Long userId, Integer page, Integer pagesize);

    Movement queryMovementsById(String movementId);

    void updateStateById(int i, String movementId);

    PageResult queryUserMovements(Integer page, Integer pagesize, Long userId, Integer state);

    void findByMovementId(List<String> movementIds, Integer state);

    void findByMovementId2(List<String> ids, Integer state);


    //先空着
 
}